package com.social.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @className: Notice
 * @description: TODO 类描述
 * @author: XiaoXu
 * @date: 2023/01/09 18:53
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("notice")
public class Notice implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private LocalDateTime public_time;

    private String hoster;

    private String title;

    private Long content_id;

    @TableField(exist = false)
    private String content;
}
